<!-- 物件リクエスト確認画面 -->
<!-- InstanceEndEditable -->
	<div id="main">
		<!-- InstanceBeginEditable name="main" -->
		<!-- easy_rqe -->
		<div id="easy_rqe">
			<h1><img alt="おまかせ物件リクエスト" src="/images/img_title_easy.gif" width="327" heigth="58"></h1>
			{if $step_image != ''}<p class="bar"><img src={$step_image} alt="お問い合わせ内容の確認" width="980" height="66" /></p>{/if}
			
			<div class="lead">
				<p>お問い合わせの内容は以下のとおりでよろしいですか？</p>
				<p>よろしければ「いますぐリクエスト」ボタンをクリックしてください。訂正がある場合は「内容を修正する」ボタンをクリックしてください。</p>
			</div>
			<div class="lead">
				<p>また、このページをプリントアウトなどしてお問い合わせの控えとして保存されることをおすすめします。</p>
			</div>
			<div id="conditionData">
				<div class="selectBlock">
					<h2 class="title">検索条件</h2>
					<div class="innerBlock">
						<table>
							<tbody>
								<tr>
									<th>地域・沿線</th>
									<td>{$condition1}</td>
								</tr>
								<tr>
									<th>基本条件</th>
									<td>{$condition2}</td>
								</tr>
								<tr>
									<th>こだわり条件</th>
									<td>{$condition3}</td>
								</tr>
							</tbody>
						</table>
					</div>
					<!-- /innerBlock -->
				</div>
				<!-- /selectBlock -->
			</div>
			<!-- /conditionData -->
			
			<div class="shop_easyBlock">
				<h2 class="title">該当店舗</h2>
				<div class="innerBlock">
					{if $shopList|@count > 0}
					<p>下記の店舗から物件のご案内をさせて頂きます。</p>
					<p class="headTable">&nbsp;</p>
					<!-- shopTable -->
					<table class="shoptabel">
						<tr>
							<th class="center">店舗名</th>
							<th class="center">駅名</th>
							<th class="center">住所<br />アクセス</th>
							<th class="center">定休日<br />営業時間</th>
							<th class="center">詳細</th>
						</tr>
						<!-- お問い合わせ店舗データの数だけ表示 ここから -->
						{foreach from=$shopList item=req key=keyname name=loopname}
							<tr>
								<td>{$req.M05_TENPO_NAME}</td>
								<td>{if $req.M03_EKI_NAME != ""}
										{$req.M03_EKI_NAME}駅
									{/if}
								</td>
								<td>{$req.M05_JYUUSHO_TEXT}{$req.M05_TENPO_BANCHI}<br/>
									{if $req.M03_ENSEN_NAME != ""}
										{$req.M03_ENSEN_NAME|replace:"＊":""}
										{assign var='target' value=$req.M03_ENSEN_NAME}
										{if $target|regex_replace:'/.*＊.*/i':'ok' eq 'ok'}
										{else}
											{if $req.M05_TOHO01 != ""}
												　徒歩{$req.M05_TOHO01}分</td>
											{/if}
										{/if}
									{/if}
								</td>
								<td>
									{if $req.M05_TEIKYUUBI == "1000000"}
										月曜日<br/>
									{elseif $req.M05_TEIKYUUBI == "0100000"}
										火曜日<br/>
									{elseif $req.M05_TEIKYUUBI == "0010000"}
										水曜日<br/>
									{elseif $req.M05_TEIKYUUBI == "0001000"}
										木曜日<br/>
									{elseif $req.M05_TEIKYUUBI == "0000100"}
										金曜日<br/>
									{elseif $req.M05_TEIKYUUBI == "0000010"}
										土曜日<br/>
									{elseif $req.M05_TEIKYUUBI == "0000001"}
										日曜日<br/>
									{/if}
									{if $req.M05_EIGYOU_ZIKAN_OPEN_H == "" && $req.M05_EIGYOU_ZIKAN_OPEN_M == "" &&
										$req.M05_EIGYOU_ZIKAN_CLOSE_H == "" && $req.M05_EIGYOU_ZIKAN_CLOSE_M == ""}
									{else}
										{if '00'|cat:$req.M05_EIGYOU_ZIKAN_OPEN_H|substr:-2 eq ""}--{else}{'00'|cat:$req.M05_EIGYOU_ZIKAN_OPEN_H|substr:-2}{/if}:
										{if '00'|cat:$req.M05_EIGYOU_ZIKAN_OPEN_M|substr:-2 eq ""}--{else}{'00'|cat:$req.M05_EIGYOU_ZIKAN_OPEN_M|substr:-2}{/if}
										～
										{if '00'|cat:$req.M05_EIGYOU_ZIKAN_CLOSE_H|substr:-2 eq ""}--{else}{'00'|cat:$req.M05_EIGYOU_ZIKAN_CLOSE_H|substr:-2}{/if}:
										{if '00'|cat:$req.M05_EIGYOU_ZIKAN_CLOSE_M|substr:-2 eq ""}--{else}{'00'|cat:$req.M05_EIGYOU_ZIKAN_CLOSE_M|substr:-2}{/if}
									{/if}
								</td>
								<td class="center">
									<a href="{$req.SHOP_DTL_URL}?btn=1" target="_blank">詳細</a>
								</td>
							</tr>
						{/foreach}
						<!-- お問い合わせ店舗データの数だけ表示 ここまで -->
					</table>
					<!-- /shopTable -->
					{/if}

			
				{if $requestTenpo.buken_tenpo|@count > 0}
				<p class="headTable">&nbsp;</p>
				<!-- shopTable -->
				<table class="shoptabel">
					<tr>
						<th class="center">店舗名</th>
						<th class="center">駅名</th>
						<th class="center">住所<br />アクセス</th>
						<th class="center">定休日<br />営業時間</th>
						<th class="center">詳細</th>
					</tr>
					<!-- お問い合わせ店舗データの数だけ表示 ここから -->
					{foreach from=$shopList item=req key=keyname name=loopname}
						<tr>
							<td>{$req.M05_TENPO_NAME}</td>
							<td>{if $req.M03_EKI_NAME != ""}
									{$req.M03_EKI_NAME}駅
								{/if}
							</td>
							<td>{$req.M05_JYUUSHO_TEXT}{$req.M05_TENPO_BANCHI}<br/>
								{if $req.M03_ENSEN_NAME != ""}
									{$req.M03_ENSEN_NAME|replace:"＊":""}
									{assign var='target' value=$req.M03_ENSEN_NAME}
									{if $target|regex_replace:'/.*＊.*/i':'ok' eq 'ok'}
									{else}
										{if $req.M05_TOHO01 != ""}
											　徒歩{$req.M05_TOHO01}分</td>
										{/if}
									{/if}
								{/if}
							</td>
							<td>
								{if $req.M05_TEIKYUUBI == "1000000"}
									月曜日<br/>
								{elseif $req.M05_TEIKYUUBI == "0100000"}
									火曜日<br/>
								{elseif $req.M05_TEIKYUUBI == "0010000"}
									水曜日<br/>
								{elseif $req.M05_TEIKYUUBI == "0001000"}
									木曜日<br/>
								{elseif $req.M05_TEIKYUUBI == "0000100"}
									金曜日<br/>
								{elseif $req.M05_TEIKYUUBI == "0000010"}
									土曜日<br/>
								{elseif $req.M05_TEIKYUUBI == "0000001"}
									日曜日<br/>
								{/if}
								{if $req.M05_EIGYOU_ZIKAN_OPEN_H == "" && $req.M05_EIGYOU_ZIKAN_OPEN_M == "" &&
									$req.M05_EIGYOU_ZIKAN_CLOSE_H == "" && $req.M05_EIGYOU_ZIKAN_CLOSE_M == ""}
								{else}
									{if '00'|cat:$req.M05_EIGYOU_ZIKAN_OPEN_H|substr:-2 eq ""}--{else}{'00'|cat:$req.M05_EIGYOU_ZIKAN_OPEN_H|substr:-2}{/if}:
									{if '00'|cat:$req.M05_EIGYOU_ZIKAN_OPEN_M|substr:-2 eq ""}--{else}{'00'|cat:$req.M05_EIGYOU_ZIKAN_OPEN_M|substr:-2}{/if}
									～
									{if '00'|cat:$req.M05_EIGYOU_ZIKAN_CLOSE_H|substr:-2 eq ""}--{else}{'00'|cat:$req.M05_EIGYOU_ZIKAN_CLOSE_H|substr:-2}{/if}:
									{if '00'|cat:$req.M05_EIGYOU_ZIKAN_CLOSE_M|substr:-2 eq ""}--{else}{'00'|cat:$req.M05_EIGYOU_ZIKAN_CLOSE_M|substr:-2}{/if}
								{/if}
							</td>
							<td>
								<a href="{$req.SHOP_DTL_URL}?btn=1" target="_blank">詳細</a>
							</td>
						</tr>
					{/foreach}
					<!-- お問い合わせ店舗データの数だけ表示 ここまで -->
				</table>
				<!-- /shopTable -->
				{/if}
				</div>
				<!-- /innerBlock -->
			</div>
			<!-- /shop_easyBlock -->

			<div class="selectBlock">
				<h2 class="title">お客様情報</h2>
				<div class="innerBlock">
					<!-- inqHouseForm -->
					<table id="inqHouseForm">
						<tr>
							<th>お名前</th>
							<td>{$NameSei}　{$NameMei}</td>
						</tr>
						<tr>
							<th>ご連絡方法</th>
							<td>
								{if $Mail != ""}
								メールアドレス：{$Mail}<br/>
								{/if}
								{if $Tel != ""}
								お電話番号：{$Tel}<br/>
								{/if}
								{if $Tel != "--"}
								電話希望時間：
									{if $NeedTimeKbn == "1"}
									10時以前
									{elseif $NeedTimeKbn == "2"}
									10時～12時
									{elseif $NeedTimeKbn == "3"}
									12時～14時
									{elseif $NeedTimeKbn == "4"}
									14時～16時
									{elseif $NeedTimeKbn == "5"}
									16時～18時
									{elseif $NeedTimeKbn == "6"}
									18時以降
									{else}
									希望なし
									{/if}
									<br>
								{else}
									電話希望時間：--<br>
								{/if}
								{if $Fax != ""}
								FAX番号：{$Fax}
								{/if}
							</td>
						</tr>
						<tr>
							<th>お問い合わせ内容</th>
							<td>{$Comment}</td>
						</tr>
						<!--キャンペーン-->
						{if ($allCampList|@count) > 0}
						<tr>
							<th>キャンペーン</th>
							<td>
							{foreach from=$allCampList item=campaign}
								{assign var="_cd" value="`$campaign.M94_CAMPAIGN_CD`"}
								{assign var="_paramname" value="CampaignFlag_`$_cd`"}
								{if ($_cd eq 17)}
									{assign var="_entry" value="希望しない。"}
									{if ($campaign.selected eq true)}
										{assign var="_entry" value="希望する。"}
										<p>{$campaign.M94_CAMPAIGN_NAME}を{$_entry}</p>
										<input type="hidden" name="{$_paramname}" id="{$_paramname}" value="1" />
									{/if}
								{else}
									{assign var="_entry" value="応募しない。"}
									{if ($campaign.selected eq true)}
										{assign var="_entry" value="応募する。"}
										<p>{$campaign.M94_CAMPAIGN_NAME}に{$_entry}</p>
										<input type="hidden" name="{$_paramname}" id="{$_paramname}" value="1" />
									{/if}
								{/if}
							{/foreach}
							<input type="hidden" id="CampaignAgechau" name="CampaignAgechau" value="{$CampaignAgechau}" />
							</td>
						</tr>
						{/if}
						<!--/キャンペーン-->
					</table>
			
<!-- 共通パラメータここから -->
{$hiddenTag}
<!-- 共通パラメータここまで -->
				<!-- attBox -->
				<div id="sendBlock">
					<div class="btn">
						<p>※メールアドレスのご入力間違いが増えておりますので、もう一度ご連絡先などのご確認をお願いいたします。</p>

					<ul class="wrapper">
						<li>
							<a href="javascript:void(0);">
							<img src="/images/btn_correction_easy.gif" alt="修正する" class="rollImg" onclick="javascript:requestBackToEntry();return false;"  />
							</a>
						</li>
						<li>
							<a href="javascript:void(0);">
							<input name="Submit" type="image" class="rollImg" id="Submit" src="/images/btn_request_easy.gif" alt="送信" onclick="javascript:requestCnfSubmit(); return false;"  />
							</a>
						</li>
					</ui>
					</div>
				</div>
				<!--/sendBlock-->
			</div>
			<!--/innerBlock-->
		</div>
		<!--/selectBlock-->
	</div>
	<!-- /easy_rqe -->
</div>
